package com.szcinda.repository;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface HistoryGhOrderRepository extends JpaRepository<HistoryGhOrder, String>, JpaSpecificationExecutor<HistoryGhOrder> {
    HistoryGhOrder findByOrganizationNameAndBookNoAndType(String organizationName, String bookNo, String type);
    List<HistoryGhOrder> findByBookNoAndType(String bookNo, String type);
}
